<!-- Dom模板 -->
<template>
  <div id="box">
    <!-- iconfont -->
    <div class="top">
      <div>
        <i class="iconfont icon-lt"></i>
      </div>
      <p>
        <i class="iconfont icon-sandian"></i>
        <span></span>
        <i class="iconfont icon-xiaochengxu-guanbi1"></i>
      </p>
    </div>
    <!-- 头部 -->
    <div class="header animate__animated animate__bounceInDown">
      <div class="memberBox">
        <img class="member" src="../../../../../static/img/图片@1x.png" />
        <div>
          <a>胡杨</a>
          <p>
            <img src="../../../../../static/img/图片 2 Copy@1x.png" />
            <span>当前未开通畅听VIP</span>
          </p>
        </div>
      </div>
    </div>
    <!-- 费用详情 -->
    <ul class="priceBox">
      <li class="animate__animated animate__bounceInRight">
        <div class="active">
          <i class="iconfont icon-a-bianzu2"></i>
          <h3>年度畅听</h3>
          <span>￥365</span>
          <p>每天仅需1元</p>
          <a>送线下课堂体验</a>
        </div>
      </li>
      <li class="animate__animated animate__bounceInRight">
        <div>
          <h3>季度畅听</h3>
          <span>￥99</span>
          <p>￥33/月</p>
        </div>
      </li>
      <li class="animate__animated animate__bounceInRight">
        <div>
          <h3>月度畅听</h3>
          <span>￥38</span>
          <p>￥38/月</p>
        </div>
      </li>
    </ul>
    <!-- vip特权 -->
    <div class="vipBox">
      <p>畅听VIP专属特权+活动特权</p>
      <ul>
        <li class="animate__animates animate__bounceIn">
          <div>
            <i class="iconfont icon--file-music"></i>
          </div>
          <span>畅听故事</span>
        </li>
        <li class="animate__animates animate__bounceIn">
          <div>
            <i class="iconfont icon-yinlefuhao"></i>
          </div>
          <span>无损音质</span>
        </li>
        <li class="animate__animates animate__bounceIn">
          <div>
            <i class="iconfont icon-shengyinlingshengjingyin-"></i>
          </div>
          <span>免广告</span>
        </li>
        <li class="animate__animates animate__bounceIn">
          <div>
            <i class="iconfont icon-jiangpai"></i>
          </div>
          <span>专属活动</span>
        </li>
        <li class="animate__animates animate__bounceIn">
          <div>
            <i class="iconfont icon-dianshi"></i>
          </div>
          <span>专属课程 </span>
        </li>
        <li class="animate__animates animate__bounceIn">
          <div>
            <i class="iconfont icon-liwu1"></i>
          </div>
          <span>乐李Maco蛋</span>
        </li>
      </ul>
    </div>
    <!-- 尾部价格 -->
    <div class="footer animate__animated animate__bounceInUp">
      <div class="allPrice">总计:<a>￥365</a></div>
      <div class="submit">确认支付</div>
    </div>
  </div>
</template>

<script>
// import a from './a'; // 引入组件
export default {
  data() {
    return {
      msg: "测试",
    };
  }, // 生命周期 - 创建完成（访问当前this实例）
  created() {}, // 生命周期 - 挂载完成（访问DOM元素）
  mounted() {}, // Vue方法定义
  methods: {},
};
</script>

<style scoped>
/* @import url(); 引入css类 */
@import url("../../../../assets/font/iconfont.css");
#box {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #f7f7f7;
  position: relative;
}
/* 头部 */
.header {
  width: 100vw;
  height: calc(196px * 0.82);
  background: #09d0b2;
  padding-top: 45px;
}
/* iconfont */
.top {
  position: absolute;
  z-index: 500;
  top:40px;
  width: 100vw;
  height: 4px;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  align-items: center;
  vertical-align: middle;
}
.top .icon-lt {
  font-size: 24px;
  color: white;
  font-weight: bold;
}
.top p {
  width: 87px;
  height: 32px;
  line-height: 20px;
  border-radius: 30px;
  text-align: center;
  border: 1px solid rgba(232, 232, 232, 100);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.top p span {
  border-right: 2px solid #e8e8e8;
  display: block;
  width: 1px;
  height: 18px;
}
.top p .icon-sandian {
  color: white;
  font-size: 20px;
  font-weight: bold;
}
.top p .icon-xiaochengxu-guanbi1 {
  color: white;
  font-size: 15px;
  font-weight: bold;
  vertical-align: middle;
}
/* 成员 */
.header .memberBox {
  margin-top: 40px;
  height: 50px;
  margin-left: 5px;
}
.header .memberBox .member {
  float: left;
  margin-left: 18px;
}
.header .memberBox div {
  float: left;
  margin-left: 15px;
  color: white;
}
.header .memberBox div a {
  font-size: 16px;
}
.header .memberBox div p {
  vertical-align: middle;
  margin-top: 10px;
}
.header .memberBox div img {
  vertical-align: middle;
}
.header .memberBox div span {
  font-size: 14px;
  opacity: 0.5;
}
/* 费用详情 */
.priceBox {
  width: 100vw;
  height: 142px;
  background: white;
  border-bottom: solid 1px #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}
.priceBox li div {
  width: 113px;
  height: 128px;
  border: solid 1px #e2e2e2;
  border-radius: 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.priceBox .active {
  border: solid 1px #fe0056;
}
.priceBox h3 {
  margin-top: 17px;
  margin-bottom: 5px;
  font-size: 14px;
}
.priceBox span {
  font-size: 18px;
  color: #fe0056;
  font-weight: bold;
}
.priceBox p {
  margin-top: 10px;
  font-size: 11px;
  color: #979797;
}
.priceBox a {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: #fe0056;
  font-size: 11px;
  color: white;
  line-height: 20px;
}
.priceBox i {
  position: absolute;
  top: 0;
  left: 0;
  width: 31px;
  height: 24px;
  line-height: 20px;
  border-radius: 26px 0px 26px 0px;
  background-color: rgba(254, 0, 86, 100);
  color: white;
}
/* vip特权 */
.vipBox {
  width: 100vw;
  height: calc(240px * 0.82);
  background: white;
  padding-top: 12px;
}
.vipBox p {
  margin: 0 0 10px 20px;
  font-size: 14px;
}
.vipBox ul {
  padding: 0 5px;
  width: 100%;
  height: 145px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.vipBox ul li {
  width: 33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: left;
  margin-bottom: 15px;
}
.vipBox ul li div {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f0fffd 100%;
  border: solid 1px #09cfb1;
  text-align: center;
  line-height: 45px;
  margin-bottom: 5px;
}
.vipBox ul li div .iconfont {
  color: #09cfb1;
  font-size: 18px;
}
.vipBox ul li span {
  font-size: 12px;
  font-weight: 550;
}
/* 尾部 */
.footer {
  width: 100vw;
  height: calc(60px * 0.82);
  background: white;
  position: absolute;
  bottom: 0;
  border-radius: 26px 26px 0px 0px;
  overflow: hidden;
}
.footer div {
  width: 50vw;
  height: calc(60px * 0.82);
  float: left;
  line-height: calc(60px * 0.82);
}
.footer .allPrice {
  padding-left: 26px;
}
.footer .allPrice a {
  font-size: 16px;
  color: #fe0056;
}
.footer .submit {
  background: #fe0056;
  color: white;
  text-align: center;
  font-weight: bold;
}
</style>